Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add casts from SSLOptionType to c_long, required with OpenSSL 3+ on Windows #114

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

kinke
Copy link
Contributor

@kinke kinke commented Sep 26, 2024

Where SSLOptionType is ulong (on all platforms since v3), but c_long is 32-bit (Windows-specific). This fixes compilation errors when using SSL_CTX_set_mode() etc.

…indows

Where SSLOptionType is ulong (on all platforms since v3), but c_long
is 32-bit (Windows-specific). This fixes compilation errors when using
SSL_CTX_set_mode() etc.
@CyberShadow CyberShadow merged commit 836c22a into D-Programming-Deimos:master Sep 26, 2024
12 checks passed
@kinke
Copy link
Contributor Author

kinke commented Sep 26, 2024

That was quick, thx Vladimir!

@kinke kinke deleted the fix_win_cast branch September 26, 2024 20:28
@CyberShadow CyberShadow mentioned this pull request Sep 26, 2024
@CyberShadow
Copy link
Member

Cheers, do you need a tag?

@kinke
Copy link
Contributor Author

kinke commented Sep 26, 2024

We already have a workaround, but surely wouldn't mind switching to upstream again, if it's not too much of a hassle and you don't plan another release soon anyway.

@CyberShadow
Copy link
Member

Done, also sent an invite just in case bus factor becomes an issue in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants